//
//  HomeViewController.h
//  MK
//
//  Created by Le Quang Vinh on 8/10/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AudioStreamer.h"

@interface HomeViewController : UIViewController
{
    AudioStreamer *streamer;
    NSTimer *progressUpdateTimer;
}

@property (strong, nonatomic) IBOutlet UISlider *progressBar;
@property (strong, nonatomic) IBOutlet UIButton *playButton;

- (void) playSongWithUrl:(NSString *)songUrl;
- (IBAction)onPlayButtonTouched;
- (IBAction)sliderMoved:(UISlider *)aSlider;
- (void)destroyStreamer;

@end
